home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / global.n < prev    next >
Encoding:
Text File  |  1994-12-17  |  926 b   |  31 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) global.n 1.2 94/12/17 16:18:04
  9. '\" 
  10. .so man.macros
  11. .HS global tcl
  12. .BS
  13. '\" Note:  do not modify the .SH NAME line immediately below!
  14. .SH NAME
  15. global \- Access global variables
  16. .SH SYNOPSIS
  17. \fBglobal \fIvarname \fR?\fIvarname ...\fR?
  18. .BE
  19.  
  20. .SH DESCRIPTION
  21. .PP
  22. This command is ignored unless a Tcl procedure is being interpreted.
  23. If so then it declares the given \fIvarname\fR's to be global variables
  24. rather than local ones.  For the duration of the current procedure
  25. (and only while executing in the current procedure), any reference to
  26. any of the \fIvarname\fRs will refer to the global variable by the same
  27. name.
  28.  
  29. .SH KEYWORDS
  30. global, procedure, variable
  31.